#include <iostream>
using namespace std;

int main(int argc, char const *argv[])
{
    int number = 0;//初始化数据
    cin >> number;
    if(number < 1)
    {
        cout << "您输入的数字违规" <<endl;
    }
    else if(2 == number ||3 == number)
    {
        cout <<"您输入的数是素数，您输入的数为" << number <<endl;
    }
    else if(number % 2 != 0 && number % 3 != 0 && number % 7 != 0 && number % 5 != 0)
    {
        cout <<"您输入的数是素数，您输入的数为" << number <<endl;
    }
    else
    cout <<"您输入的数不是素数，您输入的数为" << number <<endl;

    return 0;
}
 